<script lang="ts" setup>
	//评论成功
	import { ref, reactive } from "vue"
	import {
		getCurrentInstance
	} from 'vue'
	import {
		useRouter
	} from 'uni-mini-router'
	import {
		onShow,
		onHide,
		onLoad,
		onReachBottom,
		onUnload
	} from '@dcloudio/uni-app'
	const {
		proxy,
	} = getCurrentInstance()
	let router = useRouter()
	const goIndex = () => {
		router.pushTab({
			name: 'index'
		})
	}
</script>
<template>
	<view class="success c-flex-center-center">
		<image src="../../../static/icon/success.png" mode=""></image>
		<text>评价成功</text>
	</view>
	<view class="btnBox r-flex-around-center">
		<!-- <text @click="goOrder">查看订单</text> -->
		<text @click="goIndex">返回首页</text>
	</view>
</template>
<style lang="scss">
	.success {
		width: 100%;
		margin: 20rpx 0;

		image {
			width: 200rpx;
			height: 200rpx;
			margin-bottom: 20rpx;
		}
	}

	.btnBox {
		margin-top: 200rpx;

		text {
			padding: 10rpx 50rpx;
			border: 1rpx solid #CA655E;
			border-radius: 10rpx;
			color: #CA655E;
		}
	}
</style>